VERSION 1.0 CLASS
BEGIN
  MultiUse = -1  'True
  Persistable = 0  'NotPersistable
  DataBindingBehavior = 0  'vbNone
  DataSourceBehavior  = 0  'vbNone
  MTSTransactionMode  = 0  'NotAnMTSObject
END
Attribute VB_Name = "LSalon"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
'---------------------------------------------------------------------------------------
' Module    : LAlmacen
' DateTime  : 30/11/2011 12:14
' Author    :
' Purpose   : Clase Logica Negocio Almacen
'---------------------------------------------------------------------------------------
Option Explicit
Dim dao As DAOSalon
Private Const MODULO As String = "Salon"
Private Sub Class_Initialize()
Set dao = New DAOSalon
End Sub

Public Function getListaMesas(ByVal bean As bSalon) As Collection
Dim result As Collection
Set dao.Connection = utilConexion
Set result = dao.getListaMesas(bean)
If Not result Is Nothing Then
    Set getListaMesas = result
End If
hnderr:
If Err.Number = 0 Then Exit Function
End Function

Public Function getLista() As Collection
Dim result As Collection
Set dao.Connection = utilConexion
Set result = dao.getLista()
If Not result Is Nothing Then
    Set getLista = result
Else
    error = UtilConstantes.OPT_ERROR_ENCONTRADO
End If
hnderr:
If Err.Number = 0 Then Exit Function
End Function
